package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产计划对象 mes_ps
 * 
 * @author ruoyi
 * @date 2021-12-02
 */
public class MesPs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String mesPsUuid;

    /** 订单明细ID（外键） */
    @Excel(name = "订单明细ID", readConverterExp = "外=键")
    private String fkOrderDetailUuid;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtStart;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtFinish;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal psQty;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String wmsDictMeasuringUnit;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date planDocDt;

    private String processDocNum;

    private String attentionUserName;
    private String drawNum;
    private String processNickName;
    private String deptName;
    private String taskDocNum;

    private String dtDocStartBegin;

    private String dtDocStartEnd;

    private String dtDocFinishBegin;

    private String dtDocFinishEnd;
    private String itemSpecification;

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification;
    }

    public String getDtDocStartBegin() {
        return dtDocStartBegin;
    }

    public void setDtDocStartBegin(String dtDocStartBegin) {
        this.dtDocStartBegin = dtDocStartBegin;
    }

    public String getDtDocStartEnd() {
        return dtDocStartEnd;
    }

    public void setDtDocStartEnd(String dtDocStartEnd) {
        this.dtDocStartEnd = dtDocStartEnd;
    }

    public String getDtDocFinishBegin() {
        return dtDocFinishBegin;
    }

    public void setDtDocFinishBegin(String dtDocFinishBegin) {
        this.dtDocFinishBegin = dtDocFinishBegin;
    }

    public String getDtDocFinishEnd() {
        return dtDocFinishEnd;
    }

    public void setDtDocFinishEnd(String dtDocFinishEnd) {
        this.dtDocFinishEnd = dtDocFinishEnd;
    }

    public Date getPlanDocDt() {
        return planDocDt;
    }

    public void setPlanDocDt(Date planDocDt) {
        this.planDocDt = planDocDt;
    }

    public String getTaskDocNum() {
        return taskDocNum;
    }

    public void setTaskDocNum(String taskDocNum) {
        this.taskDocNum = taskDocNum;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDrawNum() {
        return drawNum;
    }

    public void setDrawNum(String drawNum) {
        this.drawNum = drawNum;
    }

    public String getProcessNickName() {
        return processNickName;
    }

    public void setProcessNickName(String processNickName) {
        this.processNickName = processNickName;
    }

    public String getProcessDocNum() {
        return processDocNum;
    }

    public void setProcessDocNum(String processDocNum) {
        this.processDocNum = processDocNum;
    }

    public String getAttentionUserName() {
        return attentionUserName;
    }

    public void setAttentionUserName(String attentionUserName) {
        this.attentionUserName = attentionUserName;
    }

    public void setMesPsUuid(String mesPsUuid)
    {
        this.mesPsUuid = mesPsUuid;
    }

    public String getMesPsUuid() 
    {
        return mesPsUuid;
    }
    public void setFkOrderDetailUuid(String fkOrderDetailUuid) 
    {
        this.fkOrderDetailUuid = fkOrderDetailUuid;
    }

    public String getFkOrderDetailUuid() 
    {
        return fkOrderDetailUuid;
    }
    public void setDtStart(Date dtStart) 
    {
        this.dtStart = dtStart;
    }

    public Date getDtStart() 
    {
        return dtStart;
    }
    public void setDtFinish(Date dtFinish) 
    {
        this.dtFinish = dtFinish;
    }

    public Date getDtFinish() 
    {
        return dtFinish;
    }
    public void setPsQty(BigDecimal psQty) 
    {
        this.psQty = psQty;
    }

    public BigDecimal getPsQty() 
    {
        return psQty;
    }
    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) 
    {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }
    public String getWmsDictMeasuringUnit() 
    {
        return wmsDictMeasuringUnit;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mesPsUuid", getMesPsUuid())
            .append("fkOrderDetailUuid", getFkOrderDetailUuid())
            .append("dtStart", getDtStart())
            .append("dtFinish", getDtFinish())
            .append("psQty", getPsQty())
            .append("wmsDictMeasuringUnit", getWmsDictMeasuringUnit())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docTitle", getDocTitle())
            .append("docNum", getDocNum())
            .append("docDt", getDocDt())
            .append("docNote", getDocNote())
            .append("fkAttentionUserId", getFkAttentionUserId())
            .append("fkConfirmUserId", getFkConfirmUserId())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmStatus", getOaDictConfirmStatus())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
